ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.5.2 Assembly / C1.Util.DX.WIC Namespace / BitmapEncoder Class / SetColorContexts Method / SetColorContexts(ColorContext[]) Method
The color contexts to set for the encoder.

In This Topic
    SetColorContexts(ColorContext[]) Method
    In This Topic
    Sets the ColorContext objects for the encoder.
    Syntax
    'Declaration
     
    Public Overloads Sub SetColorContexts( _
       ByVal colorContextOut() As ColorContext _
    ) 
    public void SetColorContexts( 
       ColorContext[] colorContextOut
    )

    Parameters

    colorContextOut
    The color contexts to set for the encoder.

    Return Value

    If the method succeeds, it returns C1.Util.DX.HResult.Ok. Otherwise, it throws an exception.
    See Also